package edu.kit.aifb.ruleintegrator.bayes.network;

import java.util.ArrayList;
import java.util.List;

import edu.kit.aifb.ats.triples.model.Pattern;
import edu.kit.aifb.ruleintegrator.rule.Rule;

public class RuleVariable extends RandomVariable {
	private static int id=0;
	private Rule m_rule;
	private List<Pattern> m_patterns;

	
	
	public RuleVariable(Rule rule) {
		super("var_"+id+"_"+rule.toString(), new RuleFactor());
		id++;
		this.m_patterns=new ArrayList<Pattern>();
		m_rule=rule;
		
		
	}
	
	public Rule getRule(){
		return this.m_rule;
	}

	
	
	

}
